home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Network Support Library
/
RoseWare - Network Support Library.iso
/
apidev
/
tpapi.exe
/
DOCS
/
OLDDOCS.LZH
/
NWTTS.DOC
< prev
next >
Wrap
Text File
|
1993-04-06
|
4KB
|
94 lines
TTS SERVICES
============
--------------------------------------------------------------------------------
TTSAbortTransaction : WORD;
Aborts explicit and implicit transactions.
--------------------------------------------------------------------------------
TTSBeginTransaction : WORD;
Begins an explicit transaction.
--------------------------------------------------------------------------------
TTSEndTransaction (VAR TransactionNumber) : WORD;
Ends an explicit or implicit transaction and returns a transaction reference
number.
TransactionNumber (Output) : transaction reference number of the
(LONGINT) ended transaction.
--------------------------------------------------------------------------------
TTSGetApplicationThresholds (VAR LogicalRecordLockThreshold;
VAR PhysicalRecordLockThreshold) : WORD;
Returns application thresholds for implicit transactions.
LogicalRecordLockThreshold (Output) : number of logical record locks allowed
(BYTE) before an implicit transaction begins.
PhysicalRecordLockThreshold (Output): number of physical record locks
(BYTE) allowed before an implicit transaction
begins.
--------------------------------------------------------------------------------
TTSGetWorkstationThresholds (VAR LogicalRecordLockThreshold;
VAR PhysicalRecordLockThreshold) : WORD;
Returns workstation thresholds for implicit transactions.
LogicalRecordLockThreshold (Output) : number of logical record locks allowed
(BYTE) before an implicit transaction begins.
PhysicalRecordLockThreshold (Output): number of physical record locks
(BYTE) allowed before an implicit transaction
begins.
--------------------------------------------------------------------------------
TTSIsAvailable : WORD;
Verifies whether the default file server supports transaction tracking.
--------------------------------------------------------------------------------
TTSSetApplicationThresholds (VAR LogicalRecordLockThreshold;
VAR PhysicalRecordLockThreshold) : WORD;
Allows an application to set the number or record locks it can perform
without starting an implicit transaction.
LogicalRecordLockThreshold (Input) : number of logical record locks allowed
(BYTE) before an implicit transaction begins.
PhysicalRecordLockThreshold (Input) : number of physical record locks
(BYTE) allowed before an implicit transaction
begins.
--------------------------------------------------------------------------------
TTSSetWorkstationThresholds (VAR LogicalRecordLockThreshold;
VAR PhysicalRecordLockThreshold) : WORD;
Sets workstation thresholds for implicit transactions.
LogicalRecordLockThreshold (Input) : number of logical record locks allowed
(BYTE) before an implicit transaction begins.
PhysicalRecordLockThreshold (Input) : number of physical record locks
(BYTE) allowed before an implicit transaction
begins.
--------------------------------------------------------------------------------
TTSTransactionStatus (VAR TransactionNumber) : WORD;
Verifies whether a transaction has been written to disk.
TransactionNumber (Input) : transaction reference number from
(LONGINT) TTSEndTransaction.
------------------------------------------------------------------------------